package com.ntv.service.content;

import java.io.InputStream;
import java.io.OutputStream;

import com.ntv.domain.IContent;
import com.ntv.service.DomainException;

public interface IContentAppService 
{
	public IContent create(IContent content) throws DomainException;
	public IContent findConent(Long contentId) throws DomainException;
	public void streamImage(Long contentId, OutputStream outputStream)  throws DomainException;
	public void storeImage(final String name, final InputStream contentStream, final int contentLength, final String description) throws DomainException;
	public void streamWishesImage(final Long id, OutputStream  outputStream) throws DomainException;
	public void streamObituaryImage(final Long id, OutputStream  outputStream) throws DomainException;
}
